package pc29;

public class J15Extends {

}

class J15SungJukV1b { // 부모클래스 상위

	private String name;
	private int kor;
	private int eng;
	private int mat;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getKor() {
		return kor;
	}

	public void setKor(int kor) {
		this.kor = kor;
	}

	public int getEng() {
		return eng;
	}

	public void setEng(int eng) {
		this.eng = eng;
	}

	public int getMat() {
		return mat;
	}

	public void setMat(int mat) {
		this.mat = mat;
	}

	public int getTot() {
		return kor + eng + mat;
	}

}

class J15SungJukV2 extends J15SungJukV1b { // 자식클래스 하위

	private int sci;
	private int art;

	@Override
	public int getTot() {
		return super.getTot() + sci + art;
	}

}

class Serch4Super extends Object{
	
}





